package com.yishusmt.mobsmt.service;

import com.yishusmt.mobsmt.dto.base.Result;
import com.yishusmt.mobsmt.dto.request.ResetPasswordReq;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 密码找回
 *
 * @author zhangyi
 * @date 2018/8/16 11:06
 */
public interface PasswordService {

    /**
     * 找回密码
     *
     * @param style
     * @param contact
     * @return
     */
    Result findPassword(String style,String contact);

    /**
     * 重置密码
     *
     * @param resetPasswordReq
     * @return
     */
    Result resetPassword(ResetPasswordReq resetPasswordReq);
}
